home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World's Largest Collection of Windows Software
/
The World's Largest Collection of Windows Software - Disc 1.iso
/
connect
/
_j2
/
wsmtpd16
/
mailx.bat
< prev
next >
Wrap
DOS Batch File
|
1993-07-02
|
555b
|
24 lines
@echo off
rem
rem You should replace "c:\mail\iblenke" with the mailbox name you have
rem set up for PCTCP's mail program. (hint: check PCTCP.INI)
rem
set pctcpmail=c:\mail\iblenke
rem
rem You should replace "c:\mail\mail.txt" with the mailbox name you have
rem set in WSMTPD's dialog box.
rem
set mailbox=c:\mail\mail.txt
rem
if not exist %mailbox% goto no_mail
copy %mailbox% %pctcpmail% > NUL:
mail -f %pctcpmail%
echo Remember to DELMAIL if you read it all, and nothing new came.
goto done
:no_mail
echo Mailbox empty.
:done